enum BRMode{Standart, XFreeze, YFreeze, Free};

class Billboard
{
	BRMode mode;
	float width,height;

	unsigned int maxframes;
	float vertices[20];

	int smoothanim;
public:
	Billboard();
	Billboard(float size);
	Billboard(float width,float height);
	~Billboard();

	void SetSize(float size);
	void SetSize(float width,float height);
	void SetWidth(float width);
	void SetHeight(float height);

	float GetSize();
	float GetWidth();
	float GetHeight();

	void Draw(float frame);

	void SetRenderMode(BRMode m);
	BRMode GetRenderMode();

	void AnimLenght(unsigned int maxframes);
	unsigned int GetAnimLenght();

	void SetSmoothAnim(int smooth);
};
